Yorba allows a few ways to install Shotwell a follows:
On Ubuntu, open the Ubuntu Software Center, and search Shotwell. This is probably not necessary as Shotwell comes pre-packaged with Ubuntu since 10.10.
You may also install from Yorba's PPA by adding it to your sources list:
If you're installing Shotwell 0.11.6 on Ubuntu 11.10 (Oneiric Ocelot), an additional step is required. The version of the Vala compiler that comes with Oneiric is 0.14.0, but Shotwell must be built with Vala 0.12.x. Vala 0.12.1 is available in the Oneiric repositories. To install it, simply add valac-0.12 to the dependency list above.
To use the Vala 0.12.1 compiler on Oneiric, set your VALAC environment variable to point to it. You can do this by entering:
$ export VALAC=valac-0.12
on the command line before building Shotwell.
Building Shotwell from git master
If you're building Shotwell directly from git master on Oneiric, you will need to install the following dependencies for Shotwell:
Additionally, for those building Shotwell directly from git master on Oneiric, installation of the Vala 0.12.1 compiler is unnecessary; the current development snapshot of Shotwell builds with (and requires) Vala 0.15.x. You can install Vala 0.15.x from the Vala PPA.
$ cd path/to/your_source
$ git clone git://yorba.org/shotwell
Note:You may need to install github to be able to checkout the code. Then checkout the source by following above.
$ sudo apt-get install git
Build and Install
To build and install Shotwell, go to the directory where you unpacked or checked out the source code, and type the following commands:
$ ./configure
$ make
$ make install
By default, Shotwell will install in /usr/local. The configure script can customize the prefix directory. Run ./configure --help for instructions and other installation options. You need to execute make install as root (i.e. sudo make install) if installing to system directories.
Running Shotwell
Shotwell has a runtime dependency:
librsvg2-common (2.14.0)
You may execute Shotwell directly from its build directory by typing
$ ./shotwell
Also, if you plug a digital camera into your machine, Shotwell will be available as an option to automatically launch.
See the Shotwell user guide for more information about how to import, view, modify, and export your photos.
Uninstalling Shotwell
Run:
$ make uninstall
As with "make install", you may need root privileges to do this.
On Ubuntu, open the Ubuntu Software Center, and search Shotwell. This is probably not necessary as Shotwell comes pre-packaged with Ubuntu since 10.10.
You may also install from Yorba's PPA by adding it to your sources list:
You may also download a tarball of the latest stable release and build the source. Get the source here.Building Shotwell from source tarball
If you are installing Shotwell 0.11.6 from the source tarball, you can install dependencies for Shotwell like this:
If you're installing Shotwell 0.11.6 on Ubuntu 11.10 (Oneiric Ocelot), an additional step is required. The version of the Vala compiler that comes with Oneiric is 0.14.0, but Shotwell must be built with Vala 0.12.x. Vala 0.12.1 is available in the Oneiric repositories. To install it, simply add valac-0.12 to the dependency list above.
To use the Vala 0.12.1 compiler on Oneiric, set your VALAC environment variable to point to it. You can do this by entering:
on the command line before building Shotwell.
Building Shotwell from git master
If you're building Shotwell directly from git master on Oneiric, you will need to install the following dependencies for Shotwell:
Additionally, for those building Shotwell directly from git master on Oneiric, installation of the Vala 0.12.1 compiler is unnecessary; the current development snapshot of Shotwell builds with (and requires) Vala 0.15.x. You can install Vala 0.15.x from the Vala PPA.
Installing Vala Compiler:
Checkout the source from Yorba's git repository:
Note:You may need to install github to be able to checkout the code. Then checkout the source by following above.Build and Install
To build and install Shotwell, go to the directory where you unpacked or checked out the source code, and type the following commands:
By default, Shotwell will install in /usr/local. The configure script can customize the prefix directory. Run ./configure --help for instructions and other installation options. You need to execute make install as root (i.e. sudo make install) if installing to system directories.
Running Shotwell
Shotwell has a runtime dependency:
You may execute Shotwell directly from its build directory by typing
Also, if you plug a digital camera into your machine, Shotwell will be available as an option to automatically launch.
See the Shotwell user guide for more information about how to import, view, modify, and export your photos.
Uninstalling Shotwell
Run:As with "make install", you may need root privileges to do this.
All information in this wiki was provided by Yorba's Installing Shotwell Page.